package cn.gene.timeyan.article.webapi.mapper;

import cn.gene.timeyan.pojo.article.model.Top;
import cn.gene.timeyan.pojo.article.vo.SimpleArticleVO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 缃?《琛 Mapper 接口
 * </p>
 *
 * @author LWG
 * @since 2022-07-25
 */
@Repository
public interface TopMapper {


        /**
         * 新增置顶帖子
         * @param top
         * @return
         */
        int addTopMapper(Top top);

    List<SimpleArticleVO> getArticleList(Long modelId);
}
